package com.gitee.huanminabc.fastboot.web.servlet;

import lombok.Data;

import java.lang.reflect.Method;


@Data
public class InterfaceMethodDefDesc {
    //当前的类对象
    private Object bean;
    //当前的方法
    private final Method method;
    //请求的url
    private final String url;
    //协议 GET POST PUT DELETE
    private final RequestMethodEnum protocol;

    public InterfaceMethodDefDesc(Object bean, Method method, String url, RequestMethodEnum protocol) {
        this.bean = bean;
        this.method = method;
        this.url = url;
        this.protocol = protocol;
    }
}
